const fs=require('fs')

let isFileExist=fs.existsSync('./readem.md')
let isDemoExist=fs.existsSync('./demo.js')
console.log(isFileExist);
if(isFileExist && isDemoExist ){
    fs.rmdirSync('./test')
    fs.mkdirSync('./test')
}else{
    fs.rmdirSync('./fff')
    fs.mkdirSync('./fff')
}